package com.kunya.product.controller.portall;

import com.kunya.common.common.ServerResponse;
import com.kunya.product.service.specofocation.IProductSpecificationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;

@RestController
@RequestMapping("/product_specification")
public class ProductSpecificationController {

    @Autowired
    private IProductSpecificationService iProductSpecificationService;

    @RequestMapping("test")
    public ServerResponse test(){
        iProductSpecificationService.addProductSpecification(1L, Arrays.asList(126L,127L,128L),null,"340_");
        return ServerResponse.createBySuccess();
    }
}
